package com.gxan.pojo;

import java.io.Serializable;

/**
 * 
 * @TableName sys_user
 */
public class SysUser{

    public SysUser() {
    }

    /**
     * 主键ID(自增)
     */
    private Integer user_id;

    /**
     * 登录名
     */
    private String login_name;

    /**
     * 密码
     */
    private Integer password;

    /**
     * 用户角色
     */
    private String role;

    /**
     * 所属部门id
     */
    private String dept_name;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 头像url
     */
    private String head_url;

    public SysUser(Integer user_id, String login_name, Integer password, String role, String dept_name, String phone, String head_url) {
        this.user_id = user_id;
        this.login_name = login_name;
        this.password = password;
        this.role = role;
        this.dept_name = dept_name;
        this.phone = phone;
        this.head_url = head_url;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "user_id=" + user_id +
                ", login_name='" + login_name + '\'' +
                ", password=" + password +
                ", role='" + role + '\'' +
                ", dept_name='" + dept_name + '\'' +
                ", phone='" + phone + '\'' +
                ", head_url='" + head_url + '\'' +
                '}';
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getLogin_name() {
        return login_name;
    }

    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getDept_name() {
        return dept_name;
    }

    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHead_url() {
        return head_url;
    }

    public void setHead_url(String head_url) {
        this.head_url = head_url;
    }
}